package homework.test3;
/*
完成生产者和消费者代码实现
 */
public class Demo3 {
    public static void main(String[] args) {
        Desk desk = new Desk();

        Cook cook = new Cook(desk);
        Foodie foodie = new Foodie(desk);

        cook.start();
        foodie.start();
    }
}
